<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>JavaScript科学计数法</title>
    </head>
    <body>
        <h3>JavaScript科学计数法</h3>
        <hr />
        <script>
            var x1 = 3e6;
			var x2 = 3e-6;
            alert('3e6='+x1+'\n3e-6='+x2);
        </script>
    </body>
</html>